package com.tuhu.server.db;

import com.tuhu.server.util.IOUtil;

import java.io.Closeable;
import java.sql.ResultSet;
import java.sql.Statement;

public class SqlResult implements Closeable {

    public Statement stat;
    public ResultSet rs;

    @Override
    public void close() {
        IOUtil.close(stat);
        IOUtil.close(rs);
    }

}